//
//  UIColor+RGB.h
//  Psd
//
//  Created by leirz on 14-8-24.
//  Copyright (c) 2014年 psd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UIColor (RGB)

+ (UIColor *)colorWithString:(NSString *)colorString;

+ (UIColor *)colorWithString:(NSString *)colorString alpha:(CGFloat)alpha;

+ (UIImage *)imageWithString:(NSString *)colorString size:(CGSize)size;

+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

+ (UIImage *)imageWithColor:(UIColor *)color;

+ (UIColor*)randomColor;
@end
